﻿using System.ComponentModel.DataAnnotations;

namespace WH.Contracts.Systems.Login
{
    public class AppletLinkToUrlInputDto
    {
        /// <summary>
        /// 住院人员Code
        /// </summary>
        [Required(ErrorMessage = "住院人员编号不能为空")]
        public string BinderCode { get; set; } = null!;

        /// <summary>
        /// 跳转地址
        /// </summary>
        [Required(ErrorMessage = "跳转地址不能为空")]
        public string RedirectUrl { get; set; } = null!;


        /// <summary>
        /// 签名
        /// </summary>
        [Required(ErrorMessage = "签名不能为空")]
        public string Signature { get; set; } = null!;

        ///// <summary>
        ///// 密钥
        ///// </summary>
        //public string? Secret { get; set; }
    }
}
